#region License

// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// The ClearCanvas RIS/PACS open source project is distributed in the hope that it
// will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
// Public License for more details.
//
// You should have received a copy of the GNU General Public License along with
// the ClearCanvas RIS/PACS open source project.  If not, see
// <http://www.gnu.org/licenses/>.

#endregion

// This file is auto-generated by the ClearCanvas.Model.SqlServer.CodeGenerator project.

namespace ClearCanvas.ImageServer.Model.EntityBrokers
{
    using System;
    using System.Xml;
    using ClearCanvas.ImageServer.Enterprise;

   public partial class DeviceUpdateColumns : EntityUpdateColumns
   {
       public DeviceUpdateColumns()
       : base("Device")
       {}
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="Dhcp")]
        public Boolean Dhcp
        {
            set { SubParameters["Dhcp"] = new EntityUpdateColumn<Boolean>("Dhcp", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="Enabled")]
        public Boolean Enabled
        {
            set { SubParameters["Enabled"] = new EntityUpdateColumn<Boolean>("Enabled", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AllowStorage")]
        public Boolean AllowStorage
        {
            set { SubParameters["AllowStorage"] = new EntityUpdateColumn<Boolean>("AllowStorage", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AcceptKOPR")]
        public Boolean AcceptKOPR
        {
            set { SubParameters["AcceptKOPR"] = new EntityUpdateColumn<Boolean>("AcceptKOPR", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AllowRetrieve")]
        public Boolean AllowRetrieve
        {
            set { SubParameters["AllowRetrieve"] = new EntityUpdateColumn<Boolean>("AllowRetrieve", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AllowQuery")]
        public Boolean AllowQuery
        {
            set { SubParameters["AllowQuery"] = new EntityUpdateColumn<Boolean>("AllowQuery", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AllowAutoRoute")]
        public Boolean AllowAutoRoute
        {
            set { SubParameters["AllowAutoRoute"] = new EntityUpdateColumn<Boolean>("AllowAutoRoute", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="ThrottleMaxConnections")]
        public Int16 ThrottleMaxConnections
        {
            set { SubParameters["ThrottleMaxConnections"] = new EntityUpdateColumn<Int16>("ThrottleMaxConnections", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="LastAccessedTime")]
        public DateTime LastAccessedTime
        {
            set { SubParameters["LastAccessedTime"] = new EntityUpdateColumn<DateTime>("LastAccessedTime", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="DeviceTypeEnum")]
        public DeviceTypeEnum DeviceTypeEnum
        {
            set { SubParameters["DeviceTypeEnum"] = new EntityUpdateColumn<DeviceTypeEnum>("DeviceTypeEnum", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="ServerPartitionGUID")]
        public ServerEntityKey ServerPartitionKey
        {
            set { SubParameters["ServerPartitionKey"] = new EntityUpdateColumn<ServerEntityKey>("ServerPartitionKey", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="AeTitle")]
        public String AeTitle
        {
            set { SubParameters["AeTitle"] = new EntityUpdateColumn<String>("AeTitle", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="Port")]
        public Int32 Port
        {
            set { SubParameters["Port"] = new EntityUpdateColumn<Int32>("Port", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="Description")]
        public String Description
        {
            set { SubParameters["Description"] = new EntityUpdateColumn<String>("Description", value); }
        }
        [EntityFieldDatabaseMappingAttribute(TableName="Device", ColumnName="IpAddress")]
        public String IpAddress
        {
            set { SubParameters["IpAddress"] = new EntityUpdateColumn<String>("IpAddress", value); }
        }
    }
}
